package com.ag.common;

import java.util.List;

/**
 * 用于分页
 * @author 温镇澎
 *
 */
public class PageUtil {
	
	private int page; //页数，如第几页
	private int maxRow;//每页显示的条数
	private int total;//总条数
	private List list;
	
	public PageUtil(){
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getMaxRow() {
		return maxRow;
	}

	public void setMaxRow(int maxRow) {
		this.maxRow = maxRow;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}
	

}
